package router

import (
	"github.com/gin-gonic/gin"
	"likeadmin/scyComposition"
)

var scyModuleName = "scy"

func SetScyCompositionRouter(r *gin.Engine) *gin.Engine {

	r.POST("/"+scyModuleName+"/createScyComposition", scyComposition.CreateScyComposition)
	r.POST("/"+scyModuleName+"/updateScyComposition", scyComposition.UpdateScyComposition)
	r.POST("/"+scyModuleName+"/deleteScyComposition", scyComposition.DeleteScyComposition)
	r.POST("/"+scyModuleName+"/getScyCompositionList", scyComposition.GetScyCompositionList)

	return r
}
